export default {
    //List-列表页面的城市选择
    selectCity(state, cityInfo) {
        state.cityName = cityInfo.cityName;
        state.cityId = cityInfo.cityId;

        try {
            localStorage.cityInfo = JSON.stringify(state);
        } catch (e) { }
    },

    selectFeild(state, field) {
        state.field = field;
        try {
            localStorage.cityInfo = JSON.stringify(state);
        } catch (e) { }
    }
}